package cn.ydt.ydt.shopping.webapi.repository;

import cn.ydt.ydt.pojo.shopping.model.VegetableElastic;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface VegetableRepository extends ElasticsearchRepository<VegetableElastic,Long> {

    Iterable<VegetableElastic> queryVegetableElasticByVegetableNameMatches(String name);

}
